<div>
    <div>
        <div>
            <div class="text-center">
                <div style="color:#000;font-size:26px">{{printPayFeeInfo.communityName}} {{printPayFeeInfo.apply == 'Y'?'申请单':'收据单'}}</div>
                <!-- <span style="color:#000;font-size:14px"><span><vc:i18n name="单号" namespace="printPayFee"></vc:i18n></span>：{{printPayFeeInfo.receiptNum}}</span> -->
            </div>
            <div style="color:#000;font-size:14px;margin-left:20px">
                <div class="float-left">
                    <span><span><vc:i18n name="业主" namespace="printPayFee"></vc:i18n></span>：{{printPayFeeInfo.payObjName}}</span>
                </div>
                <div class="float-right text-right">
                    <span style="color:#000;font-size:14px"><span><vc:i18n name="单号" namespace="printPayFee"></vc:i18n></span>：{{printPayFeeInfo.receiptNum}}</span>
                    <br />
                    <span><span><vc:i18n name="缴费时间" namespace="printPayFee"></vc:i18n></span>：{{printPayFeeInfo.feeTime}}</span>
                </div>
            </div>
            <table class="table vc-table-border" style="color:#000;font-size:14px">
                <thead>
                    <tr>
                        <th scope="col" class="text-center" width="80px"><span><vc:i18n name="编号" namespace="printPayFee"></vc:i18n></span></th>
                        <th scope="col" class="text-center"><span><vc:i18n name="收费项目" namespace="printPayFee"></vc:i18n></span></th>
                        <th scope="col" class="text-center"><span><vc:i18n name="房屋/车辆" namespace="printPayFee"></vc:i18n></span></th>
                        <th scope="col" class="text-center"><span><vc:i18n name="收费范围" namespace="printPayFee"></vc:i18n></span></th>
                        <!-- <th scope="col" class="text-center"><span><vc:i18n name="周期" namespace="printPayFee"></vc:i18n></span></th> -->
                        <th scope="col" class="text-center"><span><vc:i18n name="单价" namespace="printPayFee"></vc:i18n></span></th>
                        <th scope="col" class="text-center"><span><vc:i18n name="面积/用量" namespace="printPayFee"></vc:i18n></span></th>
                        <th scope="col" class="text-center"><span><vc:i18n name="金额" namespace="printPayFee"></vc:i18n></span></th>
                        <!-- <th scope="col" class="text-center"><span><vc:i18n name="单位" namespace="printPayFee"></vc:i18n></span></th> -->
                        <th scope="col" class="text-center"><span><vc:i18n name="备注" namespace="printPayFee"></vc:i18n></span></th>
                    </tr>
                </thead>
                <tbody class="vc-table-border" style="color:#000;font-size:14px">
                    <tr v-for="(item,index) in printPayFeeInfo.fees" class="vc-table-border">
                        <th scope="row" class="text-center">{{index +1}}</th>
                        <td class="text-center">{{item.feeName}}</td>
                        <td class="text-center">{{item.objName}}</td>
                        <td class="text-center" v-if="item.preDegrees">
                            {{vc.dateFormat(item.startTime)}}
                            <span><vc:i18n name="至" namespace="printPayFee"></vc:i18n></span>
                            {{vc.dateSubOneDay(vc.dateFormat(item.startTime),vc.dateFormat(item.endTime),item.feeFlag)}}</br>
                            {{item.preDegrees}} 至 {{item.curDegrees}}
                        </td>
                        <!-- 根据山东 需求 如果为押金时 显示为无-->
                        <td class="text-center" v-else-if="item.feeTypeCd == '888800010006'">
                            无
                        </td>
                        <td class="text-center" v-else>
                            {{vc.dateFormat(item.startTime)}}<span><vc:i18n name="至" namespace="printPayFee"></vc:i18n></span>{{vc.dateSubOneDay(vc.dateFormat(item.startTime),vc.dateFormat(item.endTime),item.feeFlag)}}
                        </td>
                        <!--<td class="text-center">{{item.startTime}}<span><vc:i18n name="至" namespace="printPayFee"></vc:i18n></span>{{item.endTime}}</td>-->
                        <!-- <td class="text-center">{{item.cycle}}</td> -->
                        <td class="text-center">{{item.squarePrice}}</br>{{item.units}}</td>
                        <td class="text-center">{{item.area}}</td>
                        <td class="text-center" v-if="item.amount < 0">{{item.amount}}<vc:i18n name="元(退费)" namespace="printPayFee"></vc:i18n></td>
                        <td class="text-center" v-else>{{item.amount}}<vc:i18n name="元" namespace="printPayFee"></vc:i18n></td>
                        <!-- <td class="text-center"><span><vc:i18n name="元" namespace="printPayFee"></vc:i18n></span></td> -->
                        <td class="text-center" width="200px">{{item.remark}}</td>
                    </tr>
                    <tr>
                        <td colspan="3" class="text-center "><span><vc:i18n name="大写人民币" namespace="printPayFee"></vc:i18n></span>（元）</td>
                        <td colspan="4" class="text-center ">{{vc.changeNumMoneyToChinese(printPayFeeInfo.amount)}}
                        </td>
                        <td colspan="3" class="text-center ">{{printPayFeeInfo.amount}}</td>
                    </tr>
                    <tr v-if="printPayFeeInfo.content || printPayFeeInfo.qrImg">
                        <td colspan="6">
                            <!-- <p style="max-width: 600px;"> -->
                                <!-- {{printPayFeeInfo.content}} -->
                                <div style="max-width: 600px;" v-html="printPayFeeInfo.content"></div>
                            <!-- </p> -->
                        </td>
                        <td colspan="4">
                            <img v-if="printPayFeeInfo.qrImg" :src="printPayFeeInfo.qrImg" width="100px" height="100px">
                        </td>

                    </tr>
                </tbody>
            </table>
        </div>
        <div class="row" style="color:#000;font-size:14px;margin-left: 10px;">
            <div class="float-left" style="width: 25%;"><span><vc:i18n name="部门负责人" namespace="printPayFee"></vc:i18n></span>：</div>
            <div class="float-left" style="width: 25%;"><span><vc:i18n name="经办人" namespace="printPayFee"></vc:i18n></span>：{{vc.getData('/nav/getUserInfo').name}}</div>
            <div class="float-left" style="width: 25%;"><span><vc:i18n name="财务收款" namespace="printPayFee"></vc:i18n></span>：</div>
            <div class="float-left" style="width: 25%;"><span><vc:i18n name="客户确认" namespace="printPayFee"></vc:i18n></span>：</div>
        </div>
        <div class="row">
            <div class="col-md-12" id="print-btn">
                <button class="btn btn-primary float-right" type="button" v-on:click="_printPurchaseApplyDiv()">
                    <i class="fa fa-check"></i>&nbsp;打印
                </button>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" v-on:click="_closePage()"><span><vc:i18n name="取消" namespace="printPayFee"></vc:i18n></span>
                </button>
            </div>
        </div>
    </div>
</div>
